package cn.minimelon.solon.utils;

import cn.hutool.core.util.StrUtil;

/**
 * 支撑单元包的工具类型
 */
public class UnitUtil {
    private UnitUtil() {}

    public static boolean isHigh(String purMode) {
        return StrUtil.equals("20", purMode);
    }

    public static boolean isSpd2(Integer hosVersion) {
        return hosVersion == null || hosVersion == 2;
    }
}
